Skip to content

Bug 2059826 - Simplified View: Create checkbox selection for advanced columns and display how to read the results - #1069

Open
kala-moz wants to merge 10 commits into
mozilla:mainfrom
kala-moz:simplified-view-phase1
Open

Bug 2059826 - Simplified View: Create checkbox selection for advanced columns and display how to read the results#1069
kala-moz wants to merge 10 commits into
mozilla:mainfrom
kala-moz:simplified-view-phase1

Conversation

@kala-moz

@kala-moz kala-moz commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Deploy link

Bug 2059826

Screenshot 2026-08-05 at 16 41 29

Summary

Introduces a beginner-friendly "simplified" results view for the Mann-Whitney-U comparison table, while keeping the full statistical detail only check-boxes away. New contributors get plain-language columns and an on-page reading guide by default; power users can reveal the advanced stats columns with specific checkboxes (persists in the url).

User-facing changes

Δ Median % (renamed from MD (%)) — now computed from the raw runs' medians ((median(new) − median(base)) / median(base) × 100), which matches both the expanded panel's bootstrap median-diff and the reference perfcompare-new-stats implementation. Formatted as a signed, 2-decimal percent (+1.08% / −2.40%); a warning icon flags non-normal distributions (the value is still shown, since the median is rank-based); shows +0.00% for a zero base median and - only when there are no runs.

Magnitude: Move the Cliff's Delta interpretation into its own "Magnitude" column (simplified view only) so users can sort and filter by effect size.

Significance is shown in both views and now uses words instead of symbols — "Real" (significant) / "Noise" (not significant), with matching filter labels. The header reads "Significance" in the simplified view and abbreviates to "Sig" in the advanced view so it doesn't crowd "Total Trials".

Advanced columns dropdown: contains independent Cliff's Delta and CLES checkboxes (either/both/neither). Stored the Cliff's Delta / CLES visibility in an advanced_columns URL param (comma list, absent = none) so a shared or bookmarked link reproduces the selected columns.

"How to read the results" panel: A dismissible guide above the table explaining each column in plain English. Shown by default for new users; the close button or the "How to read the results" checkbox toggles it, and the choice is remembered.

Notable decisions / follow-ups

Defaults: simplified view and the reading panel are on by default (dismissible, remembered). Easy to flip if we'd rather not change the default for existing users.

Scope: the reading panel is on the main results view only (not the subtests drill-down) — easy to add there if wanted.

Phase 2 candidate: simplify the expanded row.

🤖 Generated with the help of Claude Code

@netlify

netlify Bot commented Jul 24, 2026

Copy link
Copy Markdown

Deploy Preview for mozilla-perfcompare ready!

Name Link
🔨 Latest commit 1252af3
🔍 Latest deploy log https://app.netlify.com/projects/mozilla-perfcompare/deploys/6a73c933457b5e00089f919e
😎 Deploy Preview https://deploy-preview-1069--mozilla-perfcompare.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@kala-moz
kala-moz marked this pull request as draft July 24, 2026 02:14
@kala-moz
kala-moz requested review from beatrice-acasandrei, esanuandra, gmierz and padenot and removed request for padenot July 24, 2026 02:32
@kala-moz
kala-moz marked this pull request as ready for review July 24, 2026 02:36
Comment thread src/common/constants.ts Outdated
Comment thread src/components/CompareResults/AdvancedColumnsToggle.tsx Outdated
@esanuandra

Copy link
Copy Markdown
Contributor

It looks great!

@kala-moz kala-moz changed the title Bug 2039401: Simplified view phase 1 Bug 2059826 - Simplified View: Create checkbox selection for advanced columns and display how to read the results Jul 31, 2026
Comment thread src/common/testVersions/mannWhitney.tsx Outdated
Comment thread src/common/testVersions/mannWhitney.tsx Outdated
Comment thread src/components/CompareResults/AdvancedColumnsToggle.tsx Outdated
Comment thread src/common/testVersions/studentT.tsx Outdated
@kala-moz
kala-moz force-pushed the simplified-view-phase1 branch from 0ee7631 to 9a74697 Compare August 4, 2026 23:48
@kala-moz
kala-moz force-pushed the simplified-view-phase1 branch from 52293fe to aada4b7 Compare August 5, 2026 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants